<template>
  <div id="main-div">
    <el-card style="width:500px;height:300px;margin: 50px auto">
      <el-form ref="form" :model="form" label-width="80px" style="margin-top: 50px;width: 430px">
        <el-form-item label="用户名">
          <el-input v-model="input" placeholder="请输入用户名" type="text"></el-input>
        </el-form-item>
        <el-form-item label="密码">
          <el-input v-model="input" placeholder="请输入密码" type="password"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" style="position: relative;left:130px">登录</el-button>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script>

</script>

<style scoped>
#main-div {
  overflow: hidden;
  height: 500px;
  background-image: url('/public/imgs/loginbg.gif');
  background-size: cover;
  background-position: center;
}
</style>